package java复习202408.A_String相关验证;

import org.junit.jupiter.api.Test;

public class a2_stringMethod {

    @Test
    public void stringTest(){
        String a = "abcd";

        String substring = a.substring(0);
        System.out.println(substring);


        String[] bs = a.split("b");
        System.out.println(bs[0] + "  " + bs[1]);

    }
}
